Flow tools

A tool of type Flow runs a flow to completion instead of making an HTTP request. This is useful for complex workflows — for example, calling several API endpoints one after another and combining their results.

Configuration

Create the tool as usual (see Create a customer-defined tool), set Type to Flow on the General tab, and pick the flow to run. As with REST tools, you can define parameters that the LLM fills in when calling the tool.

A flow can also be invoked from another flow without defining a Tool — via a Tool node or an API request node whose type is set to Flow. See Call tool node.

How a flow tool runs

Nesting

A flow tool may itself call other flow tools (via its tool / API request nodes), up to a nesting depth of 3.